package com.guofen.dao;

import com.guofen.pojo.SjqWeightProductionKitchenInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqWeightProductionKitchenInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqWeightProductionKitchenInfo record);

    int insertSelective(SjqWeightProductionKitchenInfo record);

    SjqWeightProductionKitchenInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqWeightProductionKitchenInfo record);

    int updateByPrimaryKey(SjqWeightProductionKitchenInfo record);

    List<SjqWeightProductionKitchenInfo> selectAll();

    List<SjqWeightProductionKitchenInfo> selectByDate(@Param("startDate") String startDate,
                                                     @Param("endDate") String endDate);
}